#include <stdio.h>
#include <malloc.h>
#include <stdlib.h>

void main()
{
    char *p, *s;
    s = (char *)malloc(128);
    scanf("%s", s);
    p = s;
    while (*p != '\0')
        p++;
    printf("%d\n", (p - s));
    system("pause");
}